/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package PracticaAyD2;

/**
 *
 * @author eddytrex
 */
public class Divicion {
    double OP1;
    double OP2;
    double Result;
    
    public Divicion(double op1,double op2)
    {
        OP1=op1;
        OP2=op2;
        if(OP2==0){Result=0;}
        else{
            Result=op1/op2;}
    }
    
    public double getResult(){return Result;}
    
}
